package com.atde._05_behavioral_design_patterns.state.app;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._05_behavioral_design_patterns.state.app
 * @Author: Del
 * @CreateTime: 2025-06-30  11:15
 * @Description: 状态模式 --- 该类为抽象状态类
 * @Version: 1.0
 */
public abstract class State {

    // 扣除积分
    abstract void deductMoney();

    // 是否抽中奖品
    abstract boolean raffle();

    // 发放奖品
    abstract void dispensePrize();
}
